package com.ydd.constant;

/**
 * @Description 包含一些数据库字段相关常量
 * @Author fang
 * @Date 2023-05-29 11:28
 */
public class DBConstant {
    //显示
    public static final Integer SHOW = 1;
    //不显示
    public static final Integer NO_SHOW = 0;
    //缓存
    public static final Integer CACHE = 1;
    //不缓存
    public static final Integer NO_CACHE = 0;
    //外联
    public static final Integer LINK = 1;
    //不外联
    public static final Integer NO_LINK = 0;
    //按钮
    public static final Integer BUTTON = 2;
    //菜单
    public static final Integer MENU = 1;
    //默认数据
    public static final String DEFAULT = "1";
    //不是默认数据
    public static final String NO_DEFAULT = null;
    //删除标记-已删除
    public static final Integer DELFLAG_YES = 1;
    //删除标记-正常
    public static final Integer DELFLAG_NO = 0;
    //状态——正常
    public static final Integer STATUS_NORMAL = 1;
    //状态-冻结
    public static final Integer STATUS_FREEZE = 0;
    //超级管理员
    public static final Integer SUPERADMIN = 1;
    //不是超级管理员
    public static final Integer NOT_SUPERADMIN = 0;
    //允许删除
    public static final Integer CAN_DEL = 1;
    //不允许删除
    public static final Integer CAN_NOT_DEL = 0;
    //图片链接
    public static final String PIC_LINK = "1";
    //文字链接
    public static final String WORD_LINK = "2";
    //推荐
    public static final Integer HOT = 1;
    //不推荐
    public static final Integer NO_HOT = 0;
    //置顶
    public static final Integer TOP = 1;
    //不置顶
    public static final Integer NO_TOP = 0;
    //状态-待审核
    public static final Integer TO_BE_REVIEWED = 0;
    //状态-草稿箱
    public static final Integer DRAFT = 1;
    //状态-已发布
    public static final Integer PUBLISHED = 2;
    //状态-已删除
    public static final Integer DELETED = 3;
    //男
    public static final Integer SEX_MALE = 0;
    //女
    public static final Integer SEX_FEMALE = 1;
    //收藏
    public static final Integer COLLECT = 1;
    //点赞
    public static final Integer LIKE = 2;

}
